<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="utf-8" />
        <title>{$score_name}明细-{eyou:global name='web_name' /}</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
        <link href="{eyou:global name='web_cmspath'/}/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        {eyou:static file="users/skin/css/basic.css" /}
        {eyou:static file="users/skin/css/eyoucms.css" /}
        <!-- 新样式 2020-11-25 -->
        {eyou:static file="users/skin/css/element/index.css" /}
        {eyou:static file="users/skin/css/e-user.css" /}
        {eyou:include file="users/skin/css/diy_css.htm" /}
        {eyou:static file="/public/static/common/js/jquery.min.js"/}
        {eyou:static file="/public/plugins/layer-v3.1.0/layer.js"/}
        {eyou:static file="/public/static/common/js/tag_global.js"/}
        {eyou:static file="/public/static/common/js/mobile_global.js"/}
    </head>

    <body>
        <div class="ey-header-status">
            <div class="header-status-l">
                <a href="{eyou:url link='user/Users/index'/}"><i class="el-icon-arrow-left"></i></a>
            </div>
            <div class="header-status-m">{$score_name}明细</div>
            <div class="header-status-r"></div>
        </div>
        <div class="h50"></div>

        <div class="ey-container">
            <div class="ey-con bgfff border-b-1-e">
                <div class="ey-row">
                    <div class="ey-row-box">
                        <div class="box-l">我的{$score_name} ：<span class="red f16">{$users.scores}</span></div>
                        <div class="box-r">
                            <select onchange="unifiedFilter(this);" data-url="{:url('user/Users/score_index')}" data-field="score_type" class="select-screen">
                                <option value="0" {empty name="$score_type"} selected {/empty}>全部</option>
                                <option value="1" {eq name="$score_type" value="1"} selected {/eq}>收入</option>
                                <option value="2" {eq name="$score_type" value="2"} selected {/eq}>支出</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            {eyou:empty name="$eyou.field.data"}
            <div class="ey-con">
                <div class="ey-row min-hg-c-102 flex flex-center">
                    <div class="tc mt-102">
                        <p class=""><img id='litpic_img' src="{eyou:static file='users/skin/images/null-data.png' /}"/></p>
                        <p class="fc9">当前暂无{$score_name}明细哦~</p>
                    </div>
                </div>
            </div>
            {eyou:else/}
            <div class="ey-con min-hg-c-102 bgfff">
                <div class="ey-row ptb0">
                {eyou:volist name="$eyou.field.data" id="vo"}
                    <div class="balances">
                        <div class="balances-info">
                            <div class="title">
                                <span>
                                    {if condition="$vo.score > 0 && $vo['type'] == 7"}
                                    问答获得悬赏
                                    {else /}
                                    {$score_type_arr[$vo['type']]|default=''}
                                    {/if}
                                </span>
                            </div>
                            <div>
                                <span>{$vo.add_time|date='Y-m-d H:i:s',###}</span>
                            </div>
                        </div>
                        <div class="balances-num">
                            <div>
                                {if condition="$vo.score < 0"}
                                <span class="color-base-text">{$vo.score}</span>
                                {else /}
                                <span class="color-green-text">{$vo.score}</span>
                                {/if}
                            </div>
                        </div>
                    </div>
                {/eyou:volist}
                </div>
                {$page}
            </div>
            {/eyou:empty}
        </div>
    </body>
</html>